#include "stdafx.h"
#include <stdio.h>
#include <stdlib.h>

#include "Destination.h"

Destination* destinationConstruct(int floor, elevatorPriority priority)
{
	Destination *destination;
	destination = (Destination*) malloc(sizeof(Destination));
	destination->floor = floor;
	destination->priority = priority;
	return destination;
}

void destinationDeconstruct(Destination *destination)
{
	free(destination);
}